#include "xplayer.h"
#include <iostream>

using namespace std;

int main(int argc, char *argv[]) {
  XPlayer play;
  play.Open("v1080.mp4", nullptr);
  play.Start();
  for (;;) {
    play.Update();
    MSleep(10);
  }
  getchar();
  return 0;
}
